/**
* eCommerce Application Sample for J2EE Training 
* Remote interface for the EcomAdmin bean
* EJB3.0 
* @author Fabienne Boyer - Didier Donsez - may 2006
*/

package ecom.beans;

import java.util.List;
import java.util.Vector;

import ecom.pojos.TechQuestion;

public interface EcomAdminRemote {
  
	//void createAccount(int accountId, int accountOwner, double balance);
	void createAccount(String emailId, double balance);
	public void createProduct(String reference, String productName,String productBrand, double productPrice, String productCat, String productDescr, double productStock);
	String getAccountName(String email);
	String getProductName (String prodId);
	Vector<String> getAllAccountsName();
	Vector<String> getAllProductsName();
	public Vector<String> getAllCustomersName();
	public void createCustomer(byte[] pwd, String nom,
			String prenom, String adresse, int codePostal, String country,
			String tel, String email);
	public void createCategory(int categoryId, String name);
	public Vector<TechQuestion> getUnansweredTechQuestion();
	public void answerTechQuestion(int idQ, String answer);
}
